package com.elric.mall.mapper;

import com.elric.mall.model.ZgLeadDoor;
import com.elric.mall.model.ZgLeadDoorExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgLeadDoorMapper {
    long countByExample(ZgLeadDoorExample example);

    int deleteByExample(ZgLeadDoorExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZgLeadDoor record);

    int insertBatch(List<ZgLeadDoor> records);

    int insertSelective(ZgLeadDoor record);

    List<ZgLeadDoor> selectByExample(ZgLeadDoorExample example);

    ZgLeadDoor selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZgLeadDoor record, @Param("example") ZgLeadDoorExample example);

    int updateByExample(@Param("record") ZgLeadDoor record, @Param("example") ZgLeadDoorExample example);

    int updateByPrimaryKeySelective(ZgLeadDoor record);

    int updateByPrimaryKey(ZgLeadDoor record);
}